public class equalstest {
    public static void main(String[] args) {
        equalsdemo s1 = new equalsdemo(15, "医生");
        equalsdemo s2 = new equalsdemo(15, "医生");
        boolean Boolean = s1.equals(s2);
        System.out.println(Boolean);

    }
}
